package com.lsu.factory.experiment;

/**
 * 中国银行存款凭证
 *
 * @Author wang suo
 * @Date 2020/11/27 0027 22:15
 * @Version 1.0
 */
public class ZhongGuoDepositSlip implements DepositSlip {
    String clientNumber;
    String clientName;
    int money;

    public ZhongGuoDepositSlip(String clientNumber, String clientName, int money) {
        this.clientNumber = clientNumber;
        this.clientName = clientName;
        this.money = money;
    }

    @Override
    public String getBankName() {
        return "中国银行";
    }

    @Override
    public String getClientName() {
        return clientName;
    }

    @Override
    public String getClientNumber() {
        return clientNumber;
    }

    @Override
    public int getAmountOfMoney() {
        return money;
    }
}
